package com.uottawa.clickerapp.domain;

import java.util.List;

public class Question extends DataStoreEntity {
	
	//private long ID;
	private String questionText;
	private long questionSessionID;
	private boolean enabled;
	private boolean multipleSubmit;

	private List<Answer> answers;
	
	public Question(){
		
	}
	
	public Question(long questionSessionID, String text){
		this.questionSessionID = questionSessionID;
		this.questionText = text;
		enabled = false;
	}

	public boolean canMultipleSubmit() {
		return multipleSubmit;
	}

	public void setMultipleSubmit(boolean multipleSubmit) {
		this.multipleSubmit = multipleSubmit;
	}
	
	public String getQuestionText() {
		return questionText;
	}
	public void setQuestionText(String questionText) {
		this.questionText = questionText;
	}
	public long getQuestionSessionID() {
		return questionSessionID;
	}
	public void setQuestionSessionID(long questionSessionID) {
		this.questionSessionID = questionSessionID;
	}
	public boolean isEnabled() {
		return enabled;
	}
	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}
	public List<Answer> getAnswers(){
		return answers;
	}
	
	public void setAnswers(List<Answer> answers) {
		this.answers = answers;
	}

	@Override
	public void save() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void fetch() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void delete() {
		// TODO Auto-generated method stub
		
	}

	

}
